#include <iostream>
#include "vft.hpp"

using namespace std;

class Base {
public:
	virtual void f() { cout << "Base::f" << endl; }
	virtual void g() { cout << "Base::g" << endl; }
	virtual void h() { cout << "Base::h" << endl; }
};

int
main() {
	Base b1;
	AccessVFT(&b1, 0);

	cout << endl;
	Base b2;
	AccessVFT(&b2, 0);
	return 0;
}
